package com.example.jpetstoreback.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@ToString
@Configuration
@ConfigurationProperties(prefix = "upload") //与配置文件中的数据关联起来(这个注解会自动匹配开头upload的配置)
public class uploadConfig {
    private String path;
}
